home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
develop, the CD; issue 1
/
Apple_Develop_1989.bin
/
Offscreen
/
FracApp 2.0B3
/
FracApp
/
FracApp.rsrc
/
bin.rsrc_CODE_17_GPrint.txt
< prev
next >
Wrap
Text File
|
1989-10-13
|
56KB
|
995 lines
# near model CODE resource
# jump table entries: 3600-3616 (17 of them)
export_450:
fn00000000:
00000000 4E56 FFF8 link A6, -0x0008
00000004 206E 000C movea.l A0, [A6 + 0xC]
00000008 43EE FFF8 lea.l A1, [A6 - 0x8]
0000000C 22D8 move.l [A1]+, [A0]+
0000000E 22D8 move.l [A1]+, [A0]+
00000010 486E FFF8 pea.l [A6 - 0x8]
00000014 206E 0008 movea.l A0, [A6 + 0x8]
00000018 2050 movea.l A0, [A0]
0000001A 2F28 0034 move.l -[A7], [A0 + 0x34]
0000001E 4EAD 1692 jsr [A5 + 0x1692 /* export_718 */]
00000022 4E5E unlink A6
00000024 205F movea.l A0, [A7]+
00000026 504F addq.w A7, 8
00000028 4ED0 jmp [A0]
0000002A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_451: // at 0000002C (misaligned)
0000002E 0000 206E ori.b D0, 0x6E /* 'n' */
00000032 000C 10BC ori.b A4, 0xBC
00000036 0001 2D6D ori.b D1, 0x6D /* 'm' */
0000003A F870 0012 .extension 0x870 <<F/1/4>>, 0x0012 // unimplemented
0000003E 4E5E unlink A6
00000040 205F movea.l A0, [A7]+
00000042 DEFC 000A add.w A7, 0xA /* '\n' */
00000046 4ED0 jmp [A0]
00000048 4E56 FFCE link A6, -0x0032
0000004C 48E7 0700 movem.l -[A7], D5,D6,D7
00000050 486E FFF8 pea.l [A6 - 0x8]
00000054 A874 syscall GetPort
00000056 2F3C 003E 0000 move.l -[A7], 0x3E0000 /* '>\0\0' */
0000005C 486E FFE4 pea.l [A6 - 0x1C]
00000060 A970 syscall GetNextEvent
00000062 101F move.b D0, [A7]+
00000064 6700 012C beq +0x12E /* 00000192 */
00000068 42A7 clr.l -[A7]
0000006A A924 syscall FrontWindow
0000006C 202D FDC4 move.l D0, [A5 - 0x23C]
00000070 B09F cmp.l D0, [A7]+
00000072 670C beq +0xE /* 00000080 */
00000074 2F2D FDC4 move.l -[A7], [A5 - 0x23C]
00000078 2F2D F9F4 move.l -[A7], [A5 - 0x60C]
0000007C 4EAD 1042 jsr [A5 + 0x1042 /* export_516 */]
label00000080:
00000080 7003 moveq.l D0, 0x03
00000082 B06E FFE4 cmp.w D0, [A6 - 0x1C]
00000086 6600 00AC bne +0xAE /* 00000134 */
0000008A 203C 0000 00FF move.l D0, 0xFF
00000090 C0AE FFE6 and.l D0, [A6 - 0x1A]
00000094 3E00 move.w D7, D0
00000096 203C 0000 FF00 move.l D0, 0xFF00
0000009C C0AE FFE6 and.l D0, [A6 - 0x1A]
000000A0 E088 lsr D0, 8
000000A2 3C00 move.w D6, D0
000000A4 702E moveq.l D0, 0x2E
000000A6 B047 cmp.w D0, D7
000000A8 57C0 seq D0
000000AA 4A00 tst.b D0
000000AC 6714 beq +0x16 /* 000000C2 */
000000AE 7200 moveq.l D1, 0x00
000000B0 322E FFF2 move.w D1, [A6 - 0xE]
000000B4 C2BC 0000 0100 and.l D1, 0x100
000000BA 4A81 tst.l D1
000000BC 56C1 sne D1
000000BE C001 and.b D0, D1
000000C0 6616 bne +0x18 /* 000000D8 */
label000000C2:
000000C2 721B moveq.l D1, 0x1B
000000C4 B247 cmp.w D1, D7
000000C6 57C1 seq D1
000000C8 4A01 tst.b D1
000000CA 6766 beq +0x68 /* 00000132 */
000000CC 7435 moveq.l D2, 0x35
000000CE B446 cmp.w D2, D6
000000D0 57C2 seq D2
000000D2 C202 and.b D1, D2
000000D4 8001 or.b D0, D1
000000D6 675A beq +0x5C /* 00000132 */
label000000D8:
000000D8 102D F990 move.b D0, [A5 - 0x670]
000000DC 6708 beq +0xA /* 000000E6 */
000000DE 3D7C 0002 FFE2 move.w [A6 - 0x1E], 0x2
000000E4 6006 bra +0x8 /* 000000EC */
label000000E6:
000000E6 3D7C 0001 FFE2 move.w [A6 - 0x1E], 0x1
label000000EC:
000000EC 2F2D FDC4 move.l -[A7], [A5 - 0x23C]
000000F0 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
000000F4 486E FFDC pea.l [A6 - 0x24]
000000F8 486E FFDE pea.l [A6 - 0x22]
000000FC 486E FFD4 pea.l [A6 - 0x2C]
00000100 A98D syscall GetDialogItem/GetDItem
00000102 2F2E FFDE move.l -[A7], [A6 - 0x22]
00000106 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000010A A95D syscall HiliteControl
0000010C 7008 moveq.l D0, 0x08
0000010E 2F00 move.l -[A7], D0
00000110 486E FFD0 pea.l [A6 - 0x30]
00000114 4EAD 03C2 jsr [A5 + 0x3C2 /* export_116 */]
00000118 2F2E FFDE move.l -[A7], [A6 - 0x22]
0000011C 4267 clr.w -[A7]
0000011E A95D syscall HiliteControl
00000120 3F3C 0080 move.w -[A7], 0x80
00000124 2F3C C000 0200 move.l -[A7], 0xC0000200
0000012A A8FD syscall PrGlue
0000012C 1B7C 0001 FDC0 move.b [A5 - 0x240], 0x1
label00000132:
00000132 605E bra +0x60 /* 00000192 */
label00000134:
00000134 4267 clr.w -[A7]
00000136 486E FFE4 pea.l [A6 - 0x1C]
0000013A A97F syscall IsDialogEvent
0000013C 101F move.b D0, [A7]+
0000013E 6752 beq +0x54 /* 00000192 */
00000140 4267 clr.w -[A7]
00000142 486E FFE4 pea.l [A6 - 0x1C]
00000146 486E FFF4 pea.l [A6 - 0xC]
0000014A 486E FFE2 pea.l [A6 - 0x1E]
0000014E A980 syscall DialogSelect
00000150 1A1F move.b D5, [A7]+
00000152 1005 move.b D0, D5
00000154 673C beq +0x3E /* 00000192 */
00000156 222E FFF4 move.l D1, [A6 - 0xC]
0000015A B2AD FDC4 cmp.l D1, [A5 - 0x23C]
0000015E 57C1 seq D1
00000160 C001 and.b D0, D1
00000162 672E beq +0x30 /* 00000192 */
00000164 302E FFE2 move.w D0, [A6 - 0x1E]
00000168 5340 subq.w D0, 1
0000016A 6706 beq +0x8 /* 00000172 */
0000016C 5340 subq.w D0, 1
0000016E 6710 beq +0x12 /* 00000180 */
00000170 6020 bra +0x22 /* 00000192 */
label00000172:
00000172 3F3C 0080 move.w -[A7], 0x80
00000176 2F3C C000 0200 move.l -[A7], 0xC0000200
0000017C A8FD syscall PrGlue
0000017E 6012 bra +0x14 /* 00000192 */
label00000180:
00000180 3F3C 0080 move.w -[A7], 0x80
00000184 2F3C C000 0200 move.l -[A7], 0xC0000200
0000018A A8FD syscall PrGlue
0000018C 1B7C 0001 FDC0 move.b [A5 - 0x240], 0x1
label00000192:
00000192 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000196 A873 syscall SetPort
0000